home *** CD-ROM | disk | FTP | other *** search
- on MouseClick
- global g1erSprLoc, gLabel, gLocLabel, gRetour
- if word 1 of the name of cast the castNum of sprite (g1erSprLoc + 7) = "BTGOEI" then
- set gLabel to "SU:IN en fi"
- set gRetour to "SU:IN en"
- set gLocLabel to "SU:OU EN"
- else
- nothing()
- end if
- end
-
- on mouseDown
- global gNumSpr, g1erSprLoc, gBoutons
- set gNumSpr to g1erSprLoc + 7
- gBoutons(appuie, gNumSpr)
- end
-
- on mouseUp
- global gNumSpr, g1erSprLoc
- curseur(1)
- if gNumSpr = (g1erSprLoc + 7) then
- MouseClick()
- else
- pass()
- end if
- end
-